package moplayer;

import communication.OSCExternalInput;

public class Main {

	public static void main(String[] args) {
		TrackRTImpl track = new TrackRTImpl();
		RhythmTrack rhythm = new RhythmTrack();
		OSCExternalInput osc = new OSCExternalInput();
		osc.startListening(track);
		osc.startListening(new DeviceValueOSCFiller());
		MyPlayerModel moPlayer = new MyOwnPlayer();
		PlayerRT player = new PlayerRT(track, moPlayer);
		ContinousPlayerRT player2 = new ContinousPlayerRT(rhythm, moPlayer, "/buttonC");
		ContinousPlayerRT player3 = new ContinousPlayerRT(new HarmonyTrack(), moPlayer, "/button1");
		player.setChannel(5);
		player2.setChannel(9);
		player3.setChannel(4);
		player.start();
		player2.start();
		player3.start();
	}

}
